@layout("/common/_container.html"){
<link href="${ctxPath}/static/css/plugins/webuploader/globle.css" rel="stylesheet" type="text/css"/>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="visitContent">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-4 b-r">
                    <#input id="customerCompanyName" name="企业客户 *" underline="true"
                    hidden="customerCompanyId" readonly="readonly"
                    clickFun="VisitInfoDlg.showCustomerCompanySelectTree(); return false;"
                    style="background-color: #ffffff !important;"
                    selectFlag="true" selectId="customerCompanyTreeDiv" selectTreeId="customerCompanyTree"
                    selectStyle="width:244px !important;"/>

                    <#input id="visitDate" name="拜访日 *" underline="true" />

                    <#input id="beginTime" name="开始时间 *" underline="true" />

                    <#input id="endTime" name="结束时间 *" underline="true" />

                    <#input id="entourage" name="随访人员" underline="true" />

                </div>

                <div class="col-sm-4">
                    <#input id="place" name="地点" underline="true"/>
                    <#selectDict id="form" name="形式" num="visitForm" underline="true" />
                    <#input id="target" name="拜访目的" underline="true"/>
                    <#input id="targetPerson" name="拜访对象" underline="true"/>
                    <#input id="summary" name="拜访纪要" underline="true"/>
                </div>

                <div class="col-sm-4">
                    <#input id="nextStep" name="下一步措施" underline="true"/>
                    <#input id="challengesAndOpportunities" name="主要机会和存在问题" underline="true"/>
                    <#selectDict id="feedback" name="产品反馈" num="yesOrNo" underline="true" />
                </div>

                <div class="col-sm-12">
                    <ul class="upload-ul clearfix">
                        <li class="upload-pick">
                            <div class="webuploader-container clearfix" id="goodsUpload"></div>
                        </li>
                    </ul>

                    <p><a class="upload-btn" href="javascript:;" id="uploadBtn">上传</a></p>
                </div>

            </div>


            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="VisitInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="VisitInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/js/common/multi-pic-upload.js"></script>
<script src="${ctxPath}/static/modular/customer/visit/visit_info.js"></script>
@}
